<div class="content">
	<div class="ibox">
        <div class="ibox-title">
            <h5>小组列表</h5>
            <div ibox-tools>
                <div class="ibox-tools dropdown">
                    <button type="button" class="btn btn-sm btn-primary pull-right m-t-n-xs" ui-sref="dashboard.race.group">新增</button>
                </div>
            </div>
        </div>
        <div class="ibox-content">
            <table class="table table-striped table-bordered table-hover" ng-if="vm.grouplist.length>0">
                <thead>
                    <tr>
                        <th class="text-center">所属组别</th>
                        <th class="text-center">所属科目</th>
                        <th class="text-center">小组名称</th>
                        <th class="text-center">小组简介</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="item in vm.grouplist" ui-sref="dashboard.race.groupedit({group_id: item.group_id})">
                        <td class="text-center">{{item.alias}}</td>
                        <td class="text-center">{{item.course_name}}</td>
                        <td class="text-center">{{item.group_title}}</td>
                        <td class="text-center">{{item.group_intro}}</td>
                    </tr>
                </tbody>
            </table>
            <p class="text-center" ng-if="vm.grouplist.length==0">
                暂无小组。
            </p>
        </div>
    </div>
</div>